package com.oop.demo12;
//实现接口中的s方法
public class UserServiceImpl implements UserService,TimeService{ //利用接口实现了多继承
    @Override
    public void add(String name) {
        System.out.println(name+name);
    }

    @Override
    public void delete(String name) {

    }

    @Override
    public void timer() {

    }

    @Override
    public void update(String name) {

    }

    @Override
    public void query(String name) {

    }
}
